package model;

/**
 * Classe para guardar as informaçoes do corpo da constante.
 * 
 * 
 * @author Alen e Jody
 * 
 */
public class Constant extends STContent {
    private VarType type;
    private String complexType;

    public Constant(STContent content, VarType type) {
	super(content.lexeme, content.scope, IDType.CONST);
	this.type = type;
    }

    public Constant(STContent content, VarType type, String complexType) {
	super(content.lexeme, content.scope, IDType.CONST);
	this.type = type;
	this.complexType = complexType;
    }

    public String getComplexType() {
	return complexType;
    }

    public VarType getType() {
	return type;
    }

    public void setType(VarType type) {
	this.type = type;
    }
}
